package basis;

public class Punkt3D {
	
	private double x, y, z;
	
	public Punkt3D() {
		this.x = (double) 0;
		this.y = (double) 0;
		this.z = (double) 0;
	}

	public double getX() {
		return x;
	}

	public void setX(double x) {
		if (x >= 0) {
			this.x = x;
		}
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		if (y >= 0) {
			this.y = y;
		}
	}

	public double getZ() {
		return z;
	}

	public void setZ(double z) {
		if (z >= 0) {
			this.z = z;
		}
	}
	
	

}
